
class main {
	constructor() { 
	   // this.data = [];
	}
	goPositive(name){
		return parseInt(Math.abs(name))
	}
	isNumber(name){
		return (Number.isNaN(Number(name))||name===true||name===false||name===null||name===''||name===undefined)?true:false
	}
	isObject(name){
		return (name===undefined||name===true||name===false||name===null||name==='')?true:(name.constructor==Object?false:true)
	}
	isString(name){
		return (name===undefined||name===true||name===false||name===null)?true:(name.constructor==String?false:true)
	}
}
module.exports = new main();
